package my.maven.project.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import my.maven.project.entity.Organization;

@Service
public class OrgServiceNew {
 
	@Autowired
	OrganizationService OrgService;
	
	@Transactional(propagation=Propagation.REQUIRES_NEW)
	public void update(Organization org) {
		OrgService.update(org);
	}
	
}
